Import('RTT_ROOT')
Import('rtconfig')
from building import *
import os

cwd = GetCurrentDir()
group = []
src = []
path = [cwd]

if not GetDepend('PKG_USING_CMSIS_CORE'):
    path += [os.path.join(cwd, 'CMSIS', 'Include')]

group = group + DefineGroup('Drivers', src, depend = [''], CPPPATH = path)

Return('group')
